using System;
using System.Collections.Generic;
using System.Text;

namespace RapidHDL.PipeLine
{

    public class Stage : Component
    {

        public NodeVector DataIn;
        public NodeVector DataOut;

        StageLogic oStageLogic;
        StageRegister oStageRegister;

        public Stage(Component poParentComponent, string psName, StageLogic poStageLogic)
            : base(poParentComponent, psName)
        {
            DataIn = this.CreateNodeVector("STAGE_DATA_I", oStageLogic.InputWidth);
            DataOut = this.CreateNodeVector("STAGE_DATA_O", oStageLogic.OutputWidth);
        }

        public void LinkDownstreamStage(Stage poDownstreamStage)
        {
        }

        public override void GenerateStructure()
        {
        }
    }
}
